package com.longge.wechat.dao;

import java.util.List;

import com.longge.wechat.entity.ShopEntity;

public interface ShopDao {
	//增加商铺
	public void saveShop(ShopEntity entity);
	//删除商铺
	public void deleteShop(ShopEntity entity);
	//更新商铺
	public void updateShop(ShopEntity entity);
	//根据id查找商铺
	public ShopEntity findShopById(int id);
	//分页查找商铺
	public List<ShopEntity> findAllShop(String name,int pageSize,int currentPage);
	//查找商铺总数
	public int findAllCount();
	//根据特产Id分页查找商铺
	public List<ShopEntity> findAllShopBySpecialtyId(Integer specialtyId,int pageSize,int currentPage);
}
